package cn.tedu._05mvcboot04.mapper;

import cn.tedu._05mvcboot04.pojo.entity.Article;
import cn.tedu._05mvcboot04.pojo.vo.ArticleVO;
import cn.tedu._05mvcboot04.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

/**
 * @author Justin Parker
 * @author 2024/8/18 17:58
 * @version 1.0
 */

public interface UserMapper {


    UserVO selectByUsername(@Param("username") String username,
                            @Param("password") String password);

    int insertArticle(Article article);

    ArticleVO selectByIdArticle(Long id);
}
